package com.zy.algorithm.v3.sort

import com.zy.view.DIYSortView
import com.zy.utils.data.Point

class MergeSortFragment : BaseV3SortFragment() {

    override fun setSortData(diyV4: DIYSortView) {
        super.setSortData(diyV4)
        val array = intArrayOf(
            16, 15, 8, 2, 11, 6, 3, 10, 5, 7, 1, 13, 12, 4, 9, 14
        )
        diyV4.setD(100)
        diyV4.create(4, 1, array, Point.Type.DEFAULT)
    }
}